#include "SCityApp.h"

int main(int argc, char* argv[])
{
  IntroState* introState = new IntroState();
  PlayState* playState = new PlayState();
  PauseState* pauseState = new PauseState();
  EndState* endState = new EndState();
  GameManager* gameManager = new GameManager();

  try {
    gameManager->start(introState); }

  catch (const Ogre::Exception& e)
  {
    std::cerr << "An exception has ocurred: " << e.getFullDescription()
      << std::endl;
  }

  delete gameManager;
  delete endState;
  delete pauseState;
  delete playState;
  delete introState;

  std::exit(0);
}
